RichTextKit v0.4

Slice<T>.SubSlice Method

Assembly: Topten.RichTextKit.dll
Namespace: Topten.RichTextKit.Utils
Declaring Type: Slice<T>

Overloads

SubSlice(int)

Creates a subslice of an array slice, from a specified position to the end

SubSlice(int, int)

Creates a sub-slice of this slice

SubSlice(int)

Creates a subslice of an array slice, from a specified position to the end

public Slice<T> SubSlice(int start);

Parameters

int start

The slice start index

Returns

Slice<T>

A new array slice

SubSlice(int, int)

Creates a sub-slice of this slice

public Slice<T> SubSlice(int start, int length);

Parameters

int start

The slice start index

int length

The slice length

Returns

Slice<T>

A new array slice